<link href='/css/core/main.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/table.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/form.css' type="text/css" rel="stylesheet"/>
<link href='/fonts/hui_iconfont/iconfont.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/Pagination/kkpager_orange.css' type="text/css" rel="stylesheet"/>
<link href='/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/fancybox/jquery.fancybox-1.3.4.css' type="text/css" rel="stylesheet"/>
<script src="/js/core/fancybox/jquery-1.7.1.js"></script>  
<script src="/js/core/Dropdownlist/chosen.jquery.js"></script> 
<script src="/js/core/Pagination/kkpager.min.js"></script> 
<script src="/js/biz/pagelist.js"></script> 
<script src="/js/core/DatePicker/WdatePicker.js"></script> 
<script src="/js/biz/custominput.js"></script> 
<script src="/js/core/Tooltip/tooltip.js"></script> 
<script src="/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.js"></script> 
<script type="text/javascript" src="/js/core/Upload/uploadPreview.js"></script>
<script src="/js/biz/ajaxfun.js"></script> 
<script src='/js/ajaxupload/ajaxfileupload.js'></script>
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.js"></script> 
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.pack.js"></script> 
<script src="/js/biz/mapelementList.js"></script>
<script src="/js/biz/imageUpload.js"></script>
    <!--页面部分-->  
    <div class="formtitle" style="width:600px;"><span>地图元素添加</span></div>
    <div class="search" style="width:600px; margin-left:10px;">
        
        <form action="" method="post" id="form">
           <input type="hidden" id="oldThumbImage"/>
        <p>
            
             <ul class="forminfo" width="600">
             <li>
                <label for="current_floor" class="label_input">所在楼层<font class='red'>*</font></label>
                <select class="dfselect" id="current_floor">
                <?php
                    if(isset($floorDetail)&&!empty($floorDetail)&&count($floorDetail)>0){
                        foreach ($floorDetail as $value) {
                ?>
                    <option value="<?php echo $value->floorId;?>"><?php echo $value->floorName;?></option>
                <?php
                    }}
                ?>
                </select>
            </li>
            <li>
                <label for="element_type" class="label_input">元素类型<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="element_type" name="element_type"/>
                
            </li>
            <li>
                <label for="element_name" class="label_input">元素名称<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="element_name" name="element_name"/>
                
            </li>
            <li>
                <label for="length" class="label_input">长度<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="length" name="length"/>
                
            </li>
            <li>
                <label for="width" class="label_input">宽度<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="width" name="width"/>
                
            </li>
            <li>
                <label for="image" class="label_input">图片<font class='red'>*</font></label>
                <!--  <div class="upload_file" id="imgdiv1" >上传图片</div> -->
                    <input type="file" class="" id="image" name="image" style="margin:7px 0 7px 0;" />
                    <div class="forminfo_div div_z" style="margin:0 5px 10px 0;">
                        <img id="imgShow1" class="pic_z" src='' width="100" height="100" />
                    </div>
            </li>
            <li>
                <label for="coordinate" class="label_input">当前坐标<font class='red'>*</font></label>
                
                <input type="text" class="dfinput ninput" id="coordinate_x" placeholder="x" name="coordinate_x"/>
                <span style="position:relative">
                <div style="display:inline;width:25px;border:1px solid black;position:absolute;top:5px;left:-17px;border:1px solid #C6C6C6;"></div>
                </span>
                <input type="text" class="dfinput ninput" placeholder="y" id="coordinate_y" name="coordinate_y">
                
            </li>
            <li>
                <label class="label_input">&nbsp;</label>
                <input type="button" class="btn" id='btn_map' value="提交" />
                <a href="" class="btn_back" id="btn_back">返回</a>
            </li>
        </ul>   
        </p>
        
        </form>
                
    </div>
  
